<?php

namespace app\admin\validate;

use think\Validate;

class Warehouse extends Validate
{
    protected $rule = [
        'name' => 'require|max:50'
    ];

    protected $scene = [
        'search' => ['name' => 'max:255']
    ];

}
